// 封装Ajax方法
import "/data/jquery.min.js";
let serverUrl = "http://localhost:1314";
async function getByAjax(path,method,data){
    return await $.ajax({
        url:`${serverUrl}${path}`,
        type:method,
        data
    });
}
export {getByAjax};
